package com.cswangdao.service;

import com.cswangdao.domain.dto.AdPageDTO;
import com.cswangdao.domain.model.MarketAd;
import com.cswangdao.result.PageResult;

public interface AdService {
    PageResult<MarketAd> pageQueryInfo(AdPageDTO pageDTO);

    MarketAd addAd(MarketAd ad);

    MarketAd updateById(MarketAd ad);

    void deleteById(Integer id);
}
